package com.budwk.app.sys.models;

import com.budwk.starter.common.enums.Validation;
import com.budwk.starter.common.openapi.annotation.ApiModel;
import com.budwk.starter.common.openapi.annotation.ApiModelProperty;
import com.budwk.starter.database.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.nutz.dao.DB;
import org.nutz.dao.entity.annotation.*;

import java.io.Serializable;

/**
 * 系统应用表
 *
 * @author wizzer@qq.com
 */
@Data
@Table("dfxy_enterprise.sys_safety_patrol_item")
@TableMeta("{'mysql-charset':'utf8mb4'}")
@ApiModel(description = "隐患检查项")
public class SysSafetyPatrolItem implements Serializable {
    private static final long serialVersionUID = -6613112303691083361L;
    @Name
    @Column
    @Comment("id")
    @ColDefine(type = ColType.VARCHAR, width = 32)
    private String id;

    @Column("name")
    @Comment("项名称")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String name;

    @Column("input_type")
    @Comment("输入类型")
    private String inputType;

    @Column("input_value")
    @Comment("输入值")
    private String inputValue;

    @Column("hidden_danger")
    @Comment("隐患值")
    private String hiddenDanger;


    @Column("hidden_danger_details")
    @Comment("隐患详情")
    private String hiddenDangerDetails;
}
